package com.shop.cereshop.agent.dao.voucher;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.agent.page.voucher.VoucherConsumeTotalVO;
import com.shop.cereshop.commons.domain.agent.CereAgentVoucherTransaction;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AgentVoucherTransactionDAO extends BaseMapper<CereAgentVoucherTransaction> {
    List<CereAgentVoucherTransaction> getList(Long agentVoucherId);

   VoucherConsumeTotalVO getConsumptionTotal(Long agentVoucherId);
}
